package his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

@Data
@Repository
@TableName("drugs")
public class Drugs {
    @TableId(value = "ID",type = IdType.AUTO)
    private int ID;
    @TableField(value = "DrugsCode")
    private String DrugsCode;
    @TableField(value = "DrugsName")
    private String DrugsName;
    @TableField(value = "DrugsFormat")
    private String DrugsFormat;
    @TableField(value = "DrugsUnit")
    private String DrugsUnit;
    @TableField(value = "Manufacturer")
    private String Manufacturer;
    @TableField(value = "DrugsDosageID")
    private int DrugsDosageID;
    @TableField(value = "DrugsTypeID")
    private int DrugsTypeID;
    @TableField(value = "DrugsPrice")
    private BigDecimal DrugsPrice;
    @TableField(value = "MnemonicCode")
    private String MnemonicCode;
    @TableField(value = "CreationDate")
    private String CreationDate;
    @TableField(value = "LastUpdateDate")
    private String LastUpdateDate;
    @TableField(value = "DelMark")
    private int DelMark;


}
